﻿using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using JT.WEB.Areas.Identity.Data;
using JT.WEB.Models;

namespace JTWEB3.Models
{
    public class Roles
    {
        public Roles()
        {
            UserList = new List<JTWEB3User>();
        }
        [DisplayName("角色ID")]
        public string RoleId { get; set; }
        [Required(ErrorMessage = "用户名不能为空")]
        public string UserId { get; set; }
        [DisplayName("角色名")]
        public string RoleName { get; set; }
        public List<JTWEB3User> UserList { get; set; }
    }
}
